from com.utils.DbHelper import DbHelper

if __name__ == '__main__':
    # 获取工具类对象
    db = DbHelper("test")
    # 编写sql语句
    sql = "insert into depts values(%s,%s)"
    manage = ("1006","采购部")
    n = db.update(sql,manage)
    print(n)